﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AudioCore.Entity
{
    public class CategoryEntity : BaseEntity
    {
        [PropertyEntity("CategoryID" ,true)]
        public int CategoryID {get; set;}

        [PropertyEntity("ParentID", true)]
        public int ParentID {get; set;}

        [PropertyEntity("CategoryName", true)]
        public string CategoryName{get;set;}

        [PropertyEntity("Description", true)]
        public string Description { get; set; }

        [PropertyEntity("HasImage", true)]
        public bool HasImage { get; set; }

        [PropertyEntity("Actived", true)]
        public bool Actived { get; set; }

        [PropertyEntity("CreatedDateTime", true)]
        public DateTime CreatedDateTime { get; set; }

        [PropertyEntity("LastTimeUpdate", true)]
        public DateTime LastTimeUpdate { get; set; }

        [PropertyEntity("SortOrder", true)]
        public DateTime SortOrder { get; set; }

        [PropertyEntity("CategoryCounter", false)]
        public int CategoryCounter { get; set; }

        [PropertyEntity("ArticleCounter", false)]
        public int ArticleCounter { get; set; }
       
    }
}
